Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Conversation

@ngoldbaum
Copy link

@ngoldbaum ngoldbaum commented May 22, 2025

Fixes #3.

In addition to the issues building on gcc reported in #3, also fixes a possible use of an uninitialized variable in remove_dead_unique_reference spotted by clang.

PyObject *key, *y;

key = PyBytes_FromStringAndSize(unique_key, keylength * sizeof(void *));
key = PyBytes_FromStringAndSize((const char *)unique_key, keylength * sizeof(char *));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The size should still be: keylength * sizeof(void *))

@ngoldbaum ngoldbaum merged commit 1101273 into Quansight-Labs:main May 22, 2025
54 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failure to build on manylinux_2_28

2 participants